#include "dict_priv.h"

/* May use config file or walk a dir. 
 * But that's not important. 
 */
apple_dict_t stardict[] = {
	{"sun_dict_e2c",},
	{"stardict1.3",},
};

int apple_stardict_dict_init(void)
{
	register_apple_dicts(stardict, ARRAY_SIZE(stardict));
	apple_do_dicts_init(stardict, ARRAY_SIZE(stardict));
	return 0;
}

void apple_stardict_dict_exit(void)
{
	apple_do_dicts_exit(stardict, ARRAY_SIZE(stardict));
	unregister_apple_dicts(stardict, ARRAY_SIZE(stardict));
}
